package com.hengtongxing.hejiayun.login.model;


import com.hengtongxing.hejiayun.base.DataCallBack;
import com.hengtongxing.hejiayun.bean.BaseResponseBean;
import com.hengtongxing.hejiayun.bean.LoginBean;

/**
 * 登录
 */

public interface ILoginModel {
    /**
     * 手机号密码登录
     */
    void requestRegister(String name, String mobile, String password, DataCallBack<BaseResponseBean> callBack);

    /**
     * 手机号密码登录
     */
    void requestLoginByPwd(String mobile, String password, String client_no, DataCallBack<LoginBean> callBack);

    /**
     * 发送验证码
     */
    void requestSendVerifyCode(String mobile, String type, DataCallBack<BaseResponseBean> callBack);

    /**
     * 忘记密码
     */
    void requestForgetPassword(String mobile, String code, String password, String type, DataCallBack<BaseResponseBean> callBack);

    /**
     * 修改手机号
     */
    void requestEditMobile(String mobile, String code, String password, DataCallBack<BaseResponseBean> callBack);
}
